package com.asset.admin.dao.mapper;

import com.asset.admin.dao.entity.SysMenuEntity;
import com.asset.admin.system.syemenu.form.MenuForm;
import com.asset.admin.system.syemenu.form.QueryMenuForm;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * todo 描述
 * </p>
 *
 * @author 牧之
 * @date 2024/2/27 14:51
 */
public interface ISysMenuMapper {

    public List<SysMenuEntity> getList(@Param("queryMenuForm") QueryMenuForm queryMenuForm);

    int getCount(@Param("queryMenuForm") QueryMenuForm queryMenuForm);

    void createMenu(@Param("entity") SysMenuEntity entity);

    void updateMenu(@Param("entity") SysMenuEntity entity);

    void deleteMenu(@Param("id") Long id);
}
